package com.whpost.service.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface MyDao extends BaseMapper {

    @Select("SELECT ${sequenceName} FROM DUAL")
    @Options(flushCache = Options.FlushCachePolicy.TRUE, useCache = false)
    Long getNextSequenceValue(String sequenceName);

}